import ah.bean.Emp;
import ah.bean.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author mubei
 * @date 2021/12/12
 * @description
 */
public class TestSpring5 {


    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("bean3.xml");
        Emp emp = context.getBean("emp", Emp.class);

        System.out.println(emp);
    }

}
